export default {
	props:{
		marginTop:String
	},
	data(){
		return {
			statusBarHeight:0
		}
	},
	computed:{
		margin(){
			return 'margin-top:'+this.marginTop
		},
		statusBar(){
			return 'height:'+this.statusBarHeight+'px'
		}
	},
	mounted(){
		this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight
	},
}